package dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import  dao.IDao;
import  dao.inter.IProduceStepExampleDao;
import  entity.ProduceStepExample;

@Repository
public class ProduceStepExampleDaoImpl implements IProduceStepExampleDao {
	@Autowired
	private IDao<ProduceStepExample> idaoImpl;
	@Override
	public ProduceStepExample save(ProduceStepExample obj) {
		// TODO Auto-generated method stub
		return idaoImpl.save(obj);
	}

	@Override
	public boolean update(ProduceStepExample obj) {
		// TODO Auto-generated method stub
		return idaoImpl.update(obj);
	}

	@Override
	public boolean delete(String rowid) {
		// TODO Auto-generated method stub
		return idaoImpl.delete(ProduceStepExample.class, rowid);
	}

	@Override
	public ProduceStepExample queryById(String rowid) {
		// TODO Auto-generated method stub
		return idaoImpl.queryById(ProduceStepExample.class, rowid);
	}

	@Override
	public List<ProduceStepExample> queryBySql(String sql) {
		// TODO Auto-generated method stub
		return idaoImpl.queryBySql(ProduceStepExample.class, sql);
	}

	@Override
	public List<ProduceStepExample> queryByHql(String hql, Object[] values) {
		// TODO Auto-generated method stub
		return idaoImpl.queryByHql(hql, values);
	}

	
}
